// 加载导航插件
layui.use(['element', 'layer'], function(){
    // 加载jquery 插件
    let $ = layui.$;
    // 加载导航、选项卡组件
    let element = layui.element;
    element.on('nav(filter)', function (elem) {
        let method = this.attributes["data-method"].nodeValue;
        if (method === 'admin_info') {
            adminInfo();
        }
    });
});
function adminInfo() {
    layui.use(['layer'], function () {
        let layer = layui.layer;
        let $ = layui.$;
        layer.open({
            type: 1,
            title: '基本信息',
            area: ['50%', '50%'],
            offset: 'auto',
            content: $("#admin-info")
        });
    })
}
